package com.lxj.service;

import com.lxj.common.Result;
import com.lxj.domain.BusRent;
import com.lxj.domain.BusReturn;
import com.lxj.dto.BusReturnDto;
import com.lxj.vo.BusReturnVo;
import com.lxj.vo.PageInfo;

/**
 * @author lxj
 * @date 2021/6/21 19:45
 * @Description:
 */
public interface ReturnService {
    /**
     * 归还车辆
     * @param rentId
     */
    Result returnCar(Integer rentId);

    /**
     * 分页查询
     * @param dto
     * @return
     */
    PageInfo<BusReturnVo> findByPage(BusReturnDto dto);
}
